package info.wf0913.blogger_core.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import info.wf0913.blogger_core.bean.BaseEntity;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface BaseService<T extends BaseEntity> extends IService<T> {
    Page<T> listPage(int page, int limit, T entity);

    List<T> list(T entity);
}
